package org.jimmy.tang.designpattern.behavior.templatemethod;

/**
 * @author jimmy
 * 
 */
public abstract class Template {
    public abstract void print();

    public void update() {
        System.out.println("Begin print...");
        for (int i = 0; i < 10; i++) {
            print();
        }
    }

}
